/*
 * font.hpp
 *
 *  Created on: 22/12/2008
 *      Author: smaxll
 */

#ifndef FONT_HPP_
#define FONT_HPP_

#include <SDL/SDL.h>

#include "ttf.hpp"

#include <string>
#include <iostream>


namespace font {

    const int SIZE_NORMAL = 14;

    //various standard colours
    extern const SDL_Color NORMAL_COLOUR, GRAY_COLOUR, LOBBY_COLOUR, GOOD_COLOUR, BAD_COLOUR,
                           BLACK_COLOUR, YELLOW_COLOUR, BUTTON_COLOUR, BIGMAP_COLOUR,
                           STONED_COLOUR, TITLE_COLOUR, DISABLED_COLOUR, LABEL_COLOUR;

    ///
    /// Determine the size of a line of text given a certain font size. Similar to
    /// line_width, but for both coordinates.
    ///
    SDL_Rect line_size(const std::string& line, int font_size, int style=TTF_STYLE_NORMAL);

}


#endif /* FONT_HPP_ */
